package demo.influxdb.java;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author Administrator
 */
@Configuration
public class InfluxDatabaseConfig {

    @Value("${spring.influx.url}")
    public String url;

    @Value("${spring.influx.user}")
    public String userName;

    @Value("${spring.influx.password}")
    public String password;

    @Value("${spring.influx.database}")
    public String database;

    @Value("${spring.influx.retentionPolicy}")
    public String retentionPolicy;

    @Value("${spring.influx.retentionPolicyTime}")
    public String retentionPolicyTime;

}
